var express = require('express')

// 创建当前级路由
var pageRouter = express.Router()

// 引入下一级路由
var mainRouter = require('./main/router')
var articleRouter = require('./article/router')

// 路由到下一级
pageRouter.use('/', mainRouter)
pageRouter.use('/article', articleRouter)

// 暴露当前级路由
module.exports = pageRouter